projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e78e47
)
(set-variable): Suggest only valid user variable.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 1 Apr 1997 22:09:02 +0000
(22:09 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 1 Apr 1997 22:09:02 +0000
(22:09 +0000)
lisp/simple.el
patch
|
blob
|
history
diff --git
a/lisp/simple.el
b/lisp/simple.el
index a25c33447c577ad088721b6e25a65f9a0f0a4c1d..2c9a39bce4e7e21ef8984c7c536d151191011221 100644
(file)
--- a/
lisp/simple.el
+++ b/
lisp/simple.el
@@
-2982,7
+2982,7
@@
it were the arg to `interactive' (which see) to interactively read the value."
(let* ((v (variable-at-point))
(enable-recursive-minibuffers t)
(val (completing-read
- (if
v
+ (if
(user-variable-p v)
(format "Set variable (default %s): " v)
"Set variable: ")
obarray 'user-variable-p t))